package com.srit.recipes.dao;

import com.srit.recipes.common.parent.ParentDao;
import com.srit.recipes.entity.IngredientInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IngredientDao extends ParentDao<IngredientInfo, String> {

    List<IngredientInfo> findAllByCpId(String recipesId);

}
